# Author: Kuilin

stu_id = [92,98,94,96,97,90,95,97,92,92]

# 任务：删除 92 的值
# 方法1：remove如何删
while True:
    if 92 in stu_id:
        stu_id.remove(92)
    else:
        break
print(stu_id)

# 方法2：pop()
# print(stu_id.index(97))
for index,item in enumerate(stu_id):
    print(index,item)
    if item == 97:
        print(index)
        stu_id.pop(index)
print(stu_id)

